package com.hbu.common.constant;

/**
 * @ProjectName: hbu-mall
 * @Package: com.hbu.common.constant
 * @ClassName: ProductConstant
 * @Author: zxh
 * @Description:
 * @Date: 2022/12/5 14:20
 * @Version: 1.0
 */
public class ProductConstant {

    public enum StatusEnum {
        PRODUCT_NEW(0, "新建"), PRODUCT_UP(1, "商品上架"), PRODUCT_DOWN(2, "商品下架");

        private int code;
        private String msg;

        StatusEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
